package com.hpf.blog.mapper;

import org.apache.ibatis.annotations.Mapper;

import com.hpf.blog.domain.BlogCategory;
@Mapper
public interface BlogCategoryMapper {

	//add
	BlogCategory add(BlogCategory blogCategory);
	
	//delete
	int delete(int id);
	
	//edit
	BlogCategory edit(BlogCategory blogCategory	);
	
	BlogCategory getById(int id);
 
	//query for condition
	//List<BlogCategory> list(HashMap<String,String> params);
}
